from page.page_axa_homepage import PageAxaHomePage
from page.page_axa_login import PageAxaLogin
from page.page_axa_pay import PageAxaPay
from page.page_axa_select_quotation import PageAxaSelectQuotation
from page.page_axa_submit_order import PageAxaSubmitOrder
from page.page_axa_write_info import PageAxaWriteInfo


class PageIn:

    def __init__(self, driver):
        self.driver = driver

    # 获取PageAxaLogin对象
    def page_get_PageAxaLogin(self):
        return PageAxaLogin(self.driver)

    # 获取 PageAxaHomePage对象
    def page_get_PageAxaHomePage(self):
        return PageAxaHomePage(self.driver)

    # 获取PageAxaWriteInfo对象
    def page_get_PageAxaWriteInfo(self):
        return PageAxaWriteInfo(self.driver)

    # 获取PageAxaSelectQuotation对象
    def page_get_PageAxaSelectQuotation(self):
        return PageAxaSelectQuotation(self.driver)

    # 获取PageAxaSubmitOrder对象
    def page_get_PageAxaSubmitOrder(self):
        return PageAxaSubmitOrder(self.driver)

    # 获取PageAxaPay对象
    def page_get_PageAxaPay(self):
        return PageAxaPay(self.driver)